//灾难预报
import NetWork from '@/service/_request.js'
class meteoroDisasterWarningApi {
  //查询预警信息（desc）查询本地预警和山西预警
  async get_tb_alarm_findByCon(params) {
    return NetWork.post(
      '/itg/dlqxfw/rds/meteData/alarm/tb-Alarm/post_tb-alarm_findArea',
      params
    )
  }
  //统计查询预警信息
  async post_tb_alarm_totalAlarm(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/meteData/alarm/tb-Alarm/post_tb-alarm_totalAlarm',
      params
    )
  }
  //预警报告调用接口
  async get_tb_alarm_alarmCount(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/meteData/alarm/tb-Alarm/post_tb-alarm_alarmCount',
      params
    )
  }
  //预警地图
  async Earlywarningmap(params) {
    return NetWork.get(
      '/itg/dlqxfw/rds/meteData/alarm/tb-Alarm/get_tb-alarm_detailAlarm',
      params
    )
  }
  async Viewthedata(params) {
    return NetWork.get(
      '/itg/dlqxfw/rds/meteData/alarm/tb-Alarm/get_tb-alarm_detailAlarm',
      params
    )
  }

  //点击列表详情查看数据
}
export default new meteoroDisasterWarningApi()
